package com.example.edf_jimmy;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;
import android.widget.Toast;

import com.example.edf_jimmy.Modele;



public class Modifclient extends Activity {

	private Modele vretour;
	private Client vclient = new Client();
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_modifclient);
		
		
		Bundle b = getIntent().getExtras();
		String param1 = b.getString ("Identifiant"); 
		Toast.makeText(getApplicationContext(), param1, Toast.LENGTH_LONG).show();
		vretour = new Modele();
		vclient = vretour.trouveClient(param1);
		

	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.modifclient, menu);
		return true;
	}

}
